Skip to content

[5.1] SR-11569: DateComponents.isValidDate() ignores timeZone #2696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

spevans
Copy link
Contributor

@spevans spevans commented Feb 23, 2020

  • Call components(_:from:) using the correct calendar object with
    the correct time zone.

(cherry picked from commit 64a7907)

Backport of #2625 5.2 version #2627

cc @weissi

- Call components(_:from:) using the correct calendar object with
  the correct time zone.

(cherry picked from commit 64a7907)
@spevans
Copy link
Contributor Author

spevans commented Feb 23, 2020

@swift-ci test

Copy link
Contributor

@weissi weissi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@weissi weissi merged commit 61c4459 into swiftlang:swift-5.1-branch Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants